package com.study.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author csc
 * @Date 2023/9/23 17:11
 * @PackageName:com.cscloser.pojo
 * @ClassName: Address
 * @Description: TODO
 * @Version 1.0
 */

@Data
@Accessors(chain = true)
@TableName("address")
public class Address {

    @TableId(type= IdType.AUTO)
    private Long id;
    /**用户id*/
    private Long userId;
    /**城市地址*/
    private String city;
    /**邮箱*/
    private String address;
}
